<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head></h:head>
<h:body>
<ui:composition template="template2.xhtml">
	<ui:define name="titulo">Login</ui:define>
	<ui:define name="menu"></ui:define>
	<ui:define name="menu_nav"></ui:define>
	<ui:define name="corpo">
			
				<p:panel header="Login" style="width:300px; margin-left:auto;  margin-right:auto">
					<h:form method="post" action="j_security_check">
					<h:panelGrid columns="2">
						<h:outputLabel value="Usuario:" />
						<h:inputText value="" name="j_username"/>
						<h:outputLabel value="Senha:" />
						<h:inputSecret value="" name="j_password"/>
					</h:panelGrid>
					<br />
					<p:commandButton value="Entrar" type="submit"/>
					</h:form>
				</p:panel>
				<br />
			
	</ui:define>
</ui:composition>
</h:body>
</html>
